#ifndef STACKUP_MATERIAL_H
#define STACKUP_MATERIAL_H

#include "common.h"

#include <string>

struct x21_header
{
    uint16_t t;
    uint16_t r;
    uint32_t size;
    uint32_t k;
};

struct meta_netlist_path
{
    x21_header hdr;
    uint32_t un1;
    uint32_t bitmask;
    uint32_t TAIL;
    std::string path;
};

struct stackup_material
{
    x21_header hdr;
    uint32_t a;
    uint32_t layer_id;
    char material[20];
    char thickness[20];
    char thermal_conductivity[20];
    char electrical_conductivity[20];
    char d_k[20];
    char kind[20]; // E.g. DIELECTRIC, PLANE, SURFACE, CONDUCTOR
    char d_f[20];
    char unknown[20];
};

#endif // STACKUP_MATERIAL_H
